package online.keepon.wechatpush.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author top
 */
@Data
@Component
@ConfigurationProperties("wechat")
public class WechatProperties {
    /**
     * 微信公众平台的appID
     */
    private String appId;
    /**
     * 微信公众平台的appSecret
     */
    private String secret;

    /**
     * 消息推送模板ID
     */
    private String templateId;

    /**
     * 推送目标用户的openId
     */
    private String openId;

    /**
     * 定时推送
     */
    private String cron;
}
